package vn.edu.saigontech.ncms.service;

import java.util.Collection;
import java.util.Date;

import vn.edu.saigontech.ncms.model.teaching.TeachingInterruption;
import vn.edu.saigontech.ncms.service.impl.TeachingInterruptionServiceImpl;

public interface TeachingInterruptionService extends GenericService<TeachingInterruption, Long> {
	
	static final TeachingInterruptionService INSTANCE = new TeachingInterruptionServiceImpl();
	
	Collection<TeachingInterruption> findBySubstituteTeacher(Long substituteTeacherId);
	
	Collection<TeachingInterruption> findByMainTeacher(Long mainTeacherId);
	
	Collection<TeachingInterruption> findByDate(Date from, Date to);
	
	TeachingInterruption find(Long offeringId, Long teacherId, Date date);
	
	Collection<TeachingInterruption> findMakeupByDate(Date from, Date to);
}